/*
 * Binary arrays for the Web UI ui_svg files.
 */

#pragma once
#include <ESPAsyncWebServer.h>
#include <Arduino.h>

// favicon.svg
const uint32_t FAVICON_SVG_L = 456;
const uint8_t FAVICON_SVG[] PROGMEM = {
  0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x03, 0x8d, 0x53, 0xc5, 0xb6, 0xdd, 0x30,
  0x0c, 0xdc, 0xbf, 0xaf, 0xd0, 0x71, 0xd7, 0x56, 0x2c, 0x63, 0xd2, 0xc7, 0xb8, 0x6a, 0x77, 0xed,
  0x07, 0xe4, 0x32, 0x33, 0x7f, 0x7d, 0xa5, 0xe3, 0x94, 0x1e, 0x1f, 0x47, 0x63, 0x9a, 0x19, 0xc5,
  0x74, 0x71, 0x7d, 0x98, 0x4e, 0x60, 0xd7, 0x5d, 0xad, 0x87, 0xf3, 0xd9, 0xa5, 0x22, 0x34, 0x0a,
  0xba, 0xb3, 0xf6, 0xbc, 0x33, 0x9c, 0xf5, 0x2f, 0xd5, 0xcf, 0x1f, 0x4f, 0xba, 0x54, 0xd7, 0x57,
  0x67, 0x17, 0xeb, 0x5d, 0x1f, 0x98, 0x39, 0x5b, 0x5f, 0xaa, 0xc1, 0x66, 0xb3, 0xf8, 0x5a, 0x14,
  0xfb, 0xfd, 0x1e, 0xf7, 0x0e, 0xe7, 0xab, 0x7e, 0x61, 0x8d, 0x31, 0x05, 0x33, 0x14, 0xec, 0x86,
  0xdd, 0xfd, 0xdd, 0xfc, 0x70, 0xa9, 0x0c, 0x18, 0xb0, 0x64, 0x24, 0xd4, 0xd5, 0x19, 0xc0, 0x45,
  0x7b, 0xb8, 0x6a, 0x4f, 0xba, 0xd0, 0x1b, 0x4e, 0x26, 0x97, 0xea, 0x0b, 0xf5, 0x6c, 0xe5, 0x92,
  0x82, 0x36, 0x53, 0xc9, 0x04, 0x6e, 0x1c, 0x9b, 0xc6, 0xaa, 0xa9, 0x8b, 0x57, 0x54, 0xbe, 0xee,
  0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x20, 0x61, 0x80, 0x48, 0x32, 0xe4, 0x2c, 0x99, 0x21, 0x1e,
  0x19, 0xf2, 0x28, 0xab, 0x35, 0x5a, 0x78, 0xbe, 0x16, 0xef, 0xb8, 0x59, 0x56, 0xff, 0xd9, 0x5a,
  0xf9, 0x6f, 0xf3, 0x89, 0x2d, 0xb2, 0x6c, 0x48, 0x86, 0xb0, 0xaa, 0x13, 0x56, 0x20, 0x91, 0x0d,
  0xd0, 0x81, 0x45, 0x82, 0x92, 0x6b, 0x09, 0x19, 0x22, 0xcd, 0x2d, 0x9d, 0x47, 0x82, 0x44, 0x43,
  0xb5, 0x18, 0x64, 0xd5, 0x15, 0x7a, 0xcd, 0x10, 0x6b, 0x17, 0x58, 0x28, 0x90, 0xcf, 0x4b, 0xcb,
  0x16, 0x85, 0xe7, 0xeb, 0x96, 0xc4, 0x9a, 0x12, 0x26, 0x69, 0x95, 0x19, 0xfe, 0xda, 0x59, 0xf8,
  0xd7, 0x84, 0x8b, 0x0e, 0xda, 0x79, 0xa4, 0xbc, 0xa0, 0x0b, 0x79, 0xc4, 0x57, 0x67, 0xbf, 0x00,
  0x56, 0x30, 0xcc, 0x75, 0x14, 0x04, 0x00, 0x00
};

inline void serveFaviconSvg(AsyncWebServerRequest* request) {
  AsyncWebServerResponse *response = request->beginResponse_P(200, "image/svg+xml", FAVICON_SVG, FAVICON_SVG_L);
  response->addHeader(F("Content-Encoding"), "gzip");
  request->send(response);
}

